package io.renren.modules.lucky.dto.background;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "报表查询返回")
public class ReportRespDto implements Serializable {
    private static final long serialVersionUID = 1973947555863868709L;

    @ApiModelProperty(value = "数据")
    private List<Data> dataList;

    @ApiModelProperty(value = "曝光合计")
    private String uvSum;

    @ApiModelProperty(value = "点击合计")
    private String clicksSum;

    @ApiModelProperty(value = "预计收益合计")
    private String forecastRevenueSum;

    @ApiModelProperty(value = "点击率合计")
    private String clickRateSum;

    @ApiModelProperty(value = "点击收益率合计")
    private String clickRevenueRateSum;

    @lombok.Data
    @ApiModel(value = "报表查询返回数据")
    public static class Data {
        @ApiModelProperty(value = "平台编码")
        private String platCode;

        @ApiModelProperty(value = "省份")
        private String province;

        @ApiModelProperty(value = "媒体ID")
        private String mediaId;

        @ApiModelProperty(value = "媒体名称")
        private String mediaName;

        @ApiModelProperty(value = "日期 YYYY-MM-DD")
        private String dateStr;

        @ApiModelProperty(value = "曝光UV")
        private String uv;

        @ApiModelProperty(value = "点击量")
        private String clicks;

        @ApiModelProperty(value = "预计收益")
        private String forecastRevenue;

        @ApiModelProperty(value = "点击率（点击量/曝光UV）")
        private String clickRate;

        @ApiModelProperty(value = "点击收益率（预计收益/点击量）")
        private String clickRevenueRate;

        @ApiModelProperty(value = "千层曝光收益（预计收益/曝光UV*1000）")
        private String thousandExposureRevenue;
    }

}
